package com.hbue.springboot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hbue.springboot.vo.QueryParamsVo;
import com.hbue.springboot.vo.WorkerSalaryVo;

public interface WorkerSalaryService extends IService<WorkerSalaryVo> {

    /**
     * 统计送水工工资
     * @param queryParamsVO 前端传入的分页查询对象
     * @return 分页对象
     */
    IPage<WorkerSalaryVo> listWorkerSalary(QueryParamsVo queryParamsVO);

    Double getSalaryByName(String worker, QueryParamsVo query);

    double getPayByName(String workerName);
}
